import first.Address
import first.Person

class BootStrap {

    def init = { servletContext ->

        for (int i = 0; i < 150; i++ ){
            new Person (name: 'Darmidont', age: i+15, address: new Address (city: 'DP', street: 'KM', house: i+1)).save()
        }

    }
    def destroy = {
    }
}
